//
//  QDHomeNetWork.m
//  QuDanOEM
//
//  Created by wmz on 2021/11/8.
//

#import "QDHomeNetWork.h"

@implementation QDHomeNetWork
//订单详情
- (void)requestHomeOderDetail:(NSDictionary *)params viewController:(nullable UIViewController*)vc andBlock:(nullable PostNetWorkBock)block
{
    [[BSNetAPIClient sharedClient] requestWithPath:@"/qw/app/publishOrderDetail" params:params viewController:vc type:Post info:@[@(ShowErrorAlert),@(ShowLoading)]  block:block];
}
//会员下单
- (void)requestHomebuyItOderDetail:(NSDictionary *)params viewController:(nullable UIViewController*)vc andBlock:(nullable PostNetWorkBock)block
{
    [[BSNetAPIClient sharedClient] requestWithPath:@"/qw/app/order/buyIt" params:params viewController:vc type:Post info:@[@(ShowErrorAlert),@(ShowLoading)]  block:block];
}
//支付订单
- (void)requestHomepayOrder:(NSDictionary *)params viewController:(nullable UIViewController*)vc andBlock:(nullable PostNetWorkBock)block
{
    [[BSNetAPIClient sharedClient] requestWithPath:@"/qw/app/order/payOrder" params:params viewController:vc type:Post info:@[@(ShowErrorAlert),@(ShowLoading)]  block:block];
}
@end
